package com.wzy.portfolio.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "股票监控对象")
@Data
public class StockMonitorDto {

    @Schema(description = "数据库主键")
    private int id;

    @Schema(description = "股票名")
    private String stockName;

    @Schema(description = "股票编号")
    private String stockCode;

    @Schema(description = "持有账号")
    private String stockAccount;

    @Schema(description = "监控类型")
    private String monitorType;

    @Schema(description = "持有数量")
    private Integer num;

    @Schema(description = "成本价")
    private Double costPrice;

    @Schema(description = "日涨幅监控")
    private Double monitorDayPct;

    @Schema(description = "累计涨跌幅监控")
    private Double monitorCumulativePct;

    @Schema(description = "最低价监控")
    private Double monitorMinPrice;

    @Schema(description = "最高价监控")
    private Double monitorMaxPrice;

    @Schema(description = "实时涨跌幅")
    private Double changePct;

    @Schema(description = "实时价")
    private Double currentPrice;

    @Schema(description = "5日均价")
    private Double avgPrice5;

    @Schema(description = "10日均价")
    private Double avgPrice10;

    @Schema(description = "30日均价")
    private Double avgPrice30;

    @Schema(description = "实时收益")
    private Double realEarnings;

    @Schema(description = "持仓收益")
    private Double positionEarnings;

    @Schema(description = "历史收益")
    private Double historyEarnings;

    @Schema(description = "1:监控中 0 已停止")
    private int monitorStatus;

    @Schema(description = "1:监控中 0 已停止")
    private int ownStatus;

    @Schema(description = "备注信息")
    private String remark;

    @Schema(description = "通知信息")
    private String notifyMsg = "无";


}
